package cn.itcast.mapper;

import cn.itcast.pojo.recycleDetail;
import cn.itcast.pojo.recycleDetailExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface recycleDetailMapper {
    int countByExample(recycleDetailExample example);

    int deleteByExample(recycleDetailExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(recycleDetail record);

    int insertSelective(recycleDetail record);

    List<recycleDetail> selectByExample(recycleDetailExample example);

    recycleDetail selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") recycleDetail record, @Param("example") recycleDetailExample example);

    int updateByExample(@Param("record") recycleDetail record, @Param("example") recycleDetailExample example);

    int updateByPrimaryKeySelective(recycleDetail record);

    int updateByPrimaryKey(recycleDetail record);

    List<recycleDetail> getPieChart();

    List<recycleDetail> getLineChart();

    List<recycleDetail> getBarChart();
}